<?php
/**
 * Loader_Interface
 * @filesource
 */
/**
 * Namespace
 */
namespace framework\library\interfaces;
/**
 * Dependencies
 */
/**
 * Loads classes dynamically
 * 
 * NOTE: spl_autoloader() was started in the bootstrap and is used throughout
 * to autoload classes.
 * 
 * @author Randy Casburn <randy@plurious.com>
 * @copyright Copyright Plurious Software, all rights reserved
 * @license MIT
 * @license http://www.opensource.org/licenses/mit-license.html
 * @link http://plurious.com/framework/documentation/classes/Front.html
 * @version 2.1
 * @api
 */
interface Loader_Interface {
    /**
     * Loads all the classes from the baseClass array provided by Front
     * 
     * @param string $namespace 
     */
    function loadBase(Array &$classes) ;

    /**
     *
     * @param string $class The full qualified namespaced name of the class to instantiate
     * @param boolean $return True to return the class name False returns nothing
     * @return string The class name 
     */
    function loadClass($class, $return = true) ;
}

?>
